package rhc.spider.spider;

import java.util.Iterator;

import rhc.spider.request.Request;
import rhc.spider.request.Response;

public interface Spider {

	/**初始url
	 * @return
	 */
	Iterator<Request> startReqeusts();
	
	/**解析返回数据
	 * @param response
	 */
	void parseResponse(Response response);
	
}
